home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
instools
/
ipro164.zip
/
EXAMPLE.001
next >
Wrap
Text File
|
1992-02-11
|
5KB
|
143 lines
;This is designed to help you get your installation organized. The
;intention is to provide examples with proper syntax, not to provide
;an actual working script. Look at install.001 distributed with
;Install-Pro for an example of an actual script. Please note that
;this is not supposed to displace the use of the documentation.
;Many helpful hints, suggestions and examples accompany the
;definitions for many of the commands.
;BANNER and HELLO processing will replace a shareware screen after
;registering Install-Pro - see order.doc.
BANNER " Insert your opening screen title line here "
HELLO " Any number of lines of text like this can be defined here. "
HELLO " Up to 13 lines are allowed on a single screen.
HELLO " Screens may be broken up if desired with HELLOBREAK"
HELLOBREAK
HELLO " This text would be output on a new screen because it"
HELLO " comes after a HELLOBREAK."
;Up to 13 user prompt lines can be entered here. These lines
;define the data entry form that the user sees, and creates space for
;the rest of the program to function.
USER label_1 "Prompt 1" C:\DEFAULT1
USER label_2 "Prompt 2" C:\DEFAULT2
;Portions of an installation may be designated as optional.
;The following line would prompt the user whether he wanted to
;install the "Prompt 3" files.
OPTION USER label_3 "Prompt 3" C:\DEFAULT3
;Any number of subdirectories can be built child to the above directories
;that the user enters.
SUBDIR label_1 child1
SUBDIR label_2 child2\child3
;Any number of transfer files can go here - just make sure that you
;only specify those files on the current installation disk.
FILE label_1 file.001
FILE label_2 file.002
FILE label_3 file.003
;Split file transfers look like this:
FILE label_1 file.ex1t
;file.ex1 is the source file, and file.ext is the destination
;file (Note the extra character at the end of the filename.)
;On a subsequent disk, the following file would be appended to file.ext
FILE label_1 file.ex2t
;file.ex2 is the source file, and file.ext is what it gets
;appended to.
;Transfer files to child subdirectories too
FILE label_1 child1\file.004
FILE label_2 child2\child3\file.005
;UPGRADE adds newer-file overwrite protection to a file transfer.
;VERIFY adds absolute overwrite protection to a file transfer.
FILE label_1 child1\file.004 UPGRADE
FILE label_2 child1\file.005 VERIFY
;Want to distribute compressed files? Here's how. These files can be
;split and repasted before the unzip process as well.
UNZIP label_1 zipfile
GOODBYE " Build a thank-you screen, a good-bye screen, or whatever"
GOODBYE " kind of screen you want. Blank lines can be generated with"
GOODBYE ""
GOODBYE " empty quotes"
;This run command executes myprog1 from the directory that the
;user specified for label_1 above
RUN "!label_1\myprog1"
;If you supply a .exe or .com extension, Install-Pro will load
;and execute your program directly - see the documentation for RUN
;for the benefits of this.
RUN "!label_2\myprog3.exe"
;This run command executes myprog2 from the installation
;diskette's root directory. If you specify a run that accesses
;OPTIONal directories, the command will be ignored if the user didn't
;accept that particular option.
RUN "!home\myprog2"
;Make sure the user has some disk space left with this next
;optional command
SPACE label_1 150000
;Name your first installation disk something besides "Disk 1" with this
;next command
FIRSTDISK "Install Disk"
;You can either have DISK to prompt for a disk swap or END to
;finish with this disk
END
;If you had instead wanted another installation disk used, the following
;command would have prompted the user to insert the Utilities Disk
;and press enter to continue. The lack of an argument after DISK
;defaults to Disk n instead. Use of a DISK command means that the
;next disk must have a valid install.nnn where nnn is incremented
;from the current installation script. (That is, install.002 is on
;the disk following install.001.) The minimum information that must
;appear on install.002+ is a FILE command for all files on that disk,
;as well as an UNZIP command for all .zip files that need to be
;decompressed. SUBDIR and GOODBYE commands are also valid but not
;required.
;DISK "Utilities Disk"
;If you wanted multi-module chaining, and this was the last disk of this
;installation, you would:
;CHAIN
;CHAIN requires a program identical to the name of the currently running
;program (instpro.exe or install.exe if renamed) in the same directory.
;If this name doesn't exist, the user will be told to insert the correct
;disk and retry (very similar to DISK command procedure, except that
;we're looking for a program instead of a script.)
;Unregistered versions need not worry about AUTHORIZATION
AUTHORIZATION 00000